<template>
  <div class="search">
    <div class="search-header">
        <span>
            <van-icon name="search" />
            <input type="text" placeholder="请输入小区或地址"/>
        </span>
      <button @click="()=>{this.$router.push('/home/my')}">取消</button>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
.search {
  width: 100%;
  height: 100%;
}
.search-header {
  width: 100%;
  height: 8%;
  background: #f3f1f1;
  padding: 0 10px;
  display: flex;
  align-items: center;
}
.search-header span{
    width: 310px;
    height: 28px;
    background: #ffffff;
    display: flex;
    align-items: center;
    text-indent: 5px;
}

.search-header input{
    width: 310px;
    border: none;
    font-size: 10px;
    /* text-align: center; */
    text-indent: 10px;
}
.search-header button{
    width: 38px;
    height: 28px;
    font-size: 15px;
    margin-left: 10px;
    border: none;
    color: #838383;
}
</style>